@echo off

Set a=hello world

echo %a%>>t.txt

pause>nul
